<template>
  <div class='zhezhao'>
       <div class="box">
           <div class='form'>
               <slot></slot>
           </div>
       </div>
  </div>
</template>

<script>
export default {
    data(){
        return{
           
        }
    }
}
</script>

<style scoped>
.zhezhao{
    width: 100%;
    height: 100vh;
    background: rgba(0, 0,0, .4);
    position: fixed;
    top: 0;
    display: none;
    z-index: 10;
}
.box{
    position: absolute;
    width: 500px;
    z-index: 44;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    /* z-index: 3; */
    padding: 20px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgb(0 0 0 / 30%);
    box-sizing: border-box;
}
.eid{
    display: inline-block;
     font-size:18px;
     color: #303133;
     width: 200px;
     margin-bottom: 20px;
}
.form_name, .form_class{
    color: #606266;
    margin-left: 50px;
}
input,select{
    /* -webkit-appearance: none; */
    border-radius:4px;
    background-image: none;
    border:1px,solid,#dcdfe6;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    border: 1px solid #dcdfe6;
    height: 40px;
    line-height: 40px;
    outline: none;
    padding: 0 15px;
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    width: 300px;
    margin: 10px;
}

.btn1 ,.btn2{
    display: inline-block;
    cursor: pointer;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: none;
    border-radius:4px;
    font-size: 14px;
    line-height: 1;
    font-weight: 500;
    width: 73px;
    height: 40px;
    margin-top: 30px;
}
.btn1{
    background: #fff;
    border: 1px solid #dcdfe6;
    margin-left: 270px;
    /* margin-right: 10px; */
}
.btn2{
    background: #409eff;
    border: 1px solid #409eff;
    color: #fff;
}
</style>